<!DOCTYPE html>
<html>
<head>
    <title>报警待处理列表</title>
		<#include "/header.html">
</head>
<body>
<div id="rrapp" v-cloak>
    <div v-show="showList">
        <div class="grid-btn">
            <div class="col-sm-1" style="padding-left:5px;padding-right:5px;">
                <select v-model="q.key" class="form-control" name="selQueryKey" id="selQueryKey">
                    <option value="">查询条件</option>
                    <option :value="list.code" v-for="(list,index) in searchKeyDictInfo" :key="index">{{ list.value }}</option>
                </select>
            </div>
            <div class="col-sm-2"  style="padding-left:5px;padding-right:0px;">
                <input type="text" class="form-control" v-model="q.value" @keyup.enter="query" placeholder="输入查询内容">
                <a id="inputClear" class="glyphicon glyphicon-remove btn form-control-feedback" style="pointer-events: auto;"></a>
            </div>

            <a class="btn btn-primary" @click="query" style="margin-left:10px;"><i class="fa fa-search"></i>&nbsp;查询</a>
            <a class="btn btn-primary" @click="outxls"><i class="fa fa-download"></i>&nbsp;导出</a>

            <#if shiro.hasPermission("water:dataerrfixedinfo:save")>
            <a class="btn btn-primary" @click="add"><i class="fa fa-plus"></i>&nbsp;新增</a>
			</#if>
			<#if shiro.hasPermission("water:dataerrfixedinfo:update")>
            <a class="btn btn-primary" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>
			</#if>
			<#if shiro.hasPermission("water:dataerrfixedinfo:delete")>
            <a class="btn btn-primary" @click="del"><i class="fa fa-caret-square-o-up"></i>&nbsp;更换完毕</a>
			</#if>
            <!--
            <#if shiro.hasPermission("water:dataerrfixedinfo:delete")>
            <a class="btn btn-primary" @click="delFixed"><i class="fa fa-caret-square-o-up"></i>&nbsp;报警退回</a>
            </#if>-->
        </div>

        <div id="content" class="row-fluid" >
            <div class="col-md-2 panel panel-default"
                 style="padding-left:0px;min-height:465px;max-height:680px;overflow-y: scroll;">
                <ul id="deptTreeLeft" class="ztree"></ul>
            </div>
            <div class="col-md-10">
                <table id="jqGrid"></table>
                <div id="jqGridPager"></div>
            </div>
        </div>

    </div>

    <div v-show="!showList" class="panel panel-default">
        <div class="panel-heading">{{title}}</div>
        <form class="form-horizontal">
            <div class="form-group">
                <div class="col-sm-2 control-label">加入时间</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="dataErrFixedInfo.opAddDate"
                           placeholder="加入时间"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">状态</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="dataErrFixedInfo.opFixedFlag"
                           placeholder="状态"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">修复时间</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="dataErrFixedInfo.opFixedDate"
                           placeholder="修复时间"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">备注1</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="dataErrFixedInfo.opMemo1"
                           placeholder="备注1"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">备注2</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="dataErrFixedInfo.opMemo2"
                           placeholder="备注2"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">备注3</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="dataErrFixedInfo.opMemo3"
                           placeholder="备注3"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">设备ID</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="dataErrFixedInfo.deviceId"
                           placeholder="设备ID"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">采集时间</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="dataErrFixedInfo.nowDate"
                           placeholder="采集时间"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">采集数据</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="dataErrFixedInfo.nowData"
                           placeholder="采集数据"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">设备状态</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="dataErrFixedInfo.deviceStatus"
                           placeholder="设备状态"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">之前数据</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="dataErrFixedInfo.agoData"
                           placeholder="之前数据"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">之前状态</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="dataErrFixedInfo.agoDeviceStatus"
                           placeholder="之前状态"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">小区名称</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="dataErrFixedInfo.proName"
                           placeholder="小区名称"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">标识</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="dataErrFixedInfo.delFlag"
                           placeholder="标识"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">说明1</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="dataErrFixedInfo.memo1"
                           placeholder="说明1"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">说明2</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="dataErrFixedInfo.memo2"
                           placeholder="说明2"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">说明3</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="dataErrFixedInfo.memo3"
                           placeholder="说明3"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label"></div>
                <input type="button" class="btn btn-primary" id="btnSaveOrUpdate" data-loading-text="保存中..."
                       @click="saveOrUpdate" value="确定"/>
                &nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
            </div>
        </form>
    </div>
</div>

<script src="${request.contextPath}/statics/js/modules/water/dataerrfixedinfo.js?_${.now?long}"></script>
</body>
</html>